Move HTMLtoJSX page off React site#6608
Conversation
| <title>HTML to JSX</title> | ||
| <!-- Github Pages lacks basic functionality such as permanent server-side | ||
| redirects, so the best we can do is a meta redirect --> | ||
| <meta http-equiv="refresh" content="0; url=http://magic.reactjs.net/htmltojsx.htm" /> |
There was a problem hiding this comment.
I'm going to merge and then follow up to use the redirect layout we have set up for this.
There was a problem hiding this comment.
PS .htm? I think that extension lost the war 😛
There was a problem hiding this comment.
Ahh, I didn't even notice there was a redirect layout.
I like .htm... It's one less character, and consistent with pretty much everything else having a three-letter file extension (well, apart from .js). The extra l doesn't provide any extra value 😄 haha
There was a problem hiding this comment.
I dream of a world where Github Pages supports server-side redirects... Maybe one day. Missing functionality is the main reason I'm not really using Github Pages for anything much.
|
Thanks! |
|
seems the links is not working |
|
I guess something broke the page. I don't have time to look into it at the
moment, but I'm happy to take a pull request that fixes it.
Sent from my phone.
…On Oct 7, 2017 8:35 PM, "Karan" ***@***.***> wrote:
seems the links is not working
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6608 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFnHTVy23agytz1L1Dfwt10eHDkWOv4ks5sp0XqgaJpZM4IOnCU>
.
|
As per @zpao's request at reactjs/react-magic#52, this moves the HTML to JSX page off the React site and onto the React-Magic site. The new page is at http://magic.reactjs.net/htmltojsx.htm. Currently it hotlinks some files from the React site (stylesheet and live code editor) but I'm planning on making it properly standalone soon.
I've made the old page (
/html-jsx.html) a "redirect" to the new page. I use the term "redirect" loosely here - Unfortunately Github Pages lacks the ability to do 301 redirects (along with many other basic web hosting features), so I needed to use a meta refresh tag to do the redirect.